package com.falcon.service;

import java.util.List;

import com.falcon.mvc.domain.BasePager;

import com.falcon.domain.dos.DeptDO;
import com.falcon.domain.req.DeptQuery;
import com.falcon.domain.req.DeptRequest;

public interface IDeptService {

    Long save(DeptRequest request);

    Boolean update(Long id, DeptRequest request);

    Boolean deleteById(Long id);

    DeptDO queryById(Long id);

    List<DeptDO> queryList(DeptQuery request);

    BasePager<DeptDO> queryPager(DeptQuery request);

    int batchDelete(List<Long> ids);

}

